<template>
    <div class="custom-btn" @click="scrollToTop">
        <i class="fa-solid fa-angle-up"></i>
    </div>
</template>

<script setup>
const scrollToTop = () => {
    window.scrollTo({ top: 0, behavior: 'smooth' })
}
</script>

<style scoped>
</style>